package com.pango.system.mapper;

import java.util.List;

import com.pango.core.paginator.domain.PageBounds;
import com.pango.system.model.User;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    User selectByUsername(String username);
    
    List<User> selectAll(PageBounds pageBounds);
}